package com.ygqh.baby.service;

import java.math.BigDecimal;
import java.util.List;

import com.ygqh.baby.ao.Message;
import com.ygqh.baby.ao.OrderType;
import com.ygqh.baby.model.YgPtSkuInfo;
import com.ygqh.baby.po.YgOrderDetail;
import com.ygqh.baby.po.YgStock;

public interface YgSalesPromotionService {

	/**
	 * 购物满399元送猫玩偶
	 * 
	 * @param details
	 * @param stockList
	 * @param sourceCode
	 * @param totalPrice
	 * @param userName
	 * @param orderType 
	 */
	public void activityForManZeng(List<YgOrderDetail> details, List<YgStock> stockList, String sourceCode, BigDecimal totalPrice, String userName, OrderType orderType);
	
	public void activityForSingleGift(List<YgOrderDetail> details, List<YgStock> stockList, String sourceCode, BigDecimal totalPrice, String userName, OrderType orderType);

	public Message checkHeXiao(List<YgPtSkuInfo> skuList, Long userId);

	public int removeCacheByAll(Long orderId, String userName);
}
